package com.pussinboots.morning.sync.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pussinboots.morning.sync.entity.ErpMorningOrderWriteback;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author TS
 * @since 2019-09-22
 */
public interface IErpMorningOrderWritebackService extends IService<ErpMorningOrderWriteback> {
    /**
     * 获取ERP订单回传信息
     * @return
     */
    List<ErpMorningOrderWriteback> getOrderWriteBack();

    /**
     * 执行反馈
     * @param orderNumbers
     * @return
     */
    boolean execWriteBack(List<Long> orderNumbers);
}